package com.xyht.sca_s.student_manage_system.modules.assetConsumable.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 易耗品资产库
 * </p>
 *
 * @author XYHT
 * @since 2023-06-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_asset_consumable_storage")
@ApiModel(value = "SmsAssetConsumableStorage对象", description = "易耗品资产库")
public class SmsAssetConsumableStorage implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "物品 id")
    private String id;

    @ApiModelProperty(value = "物品名称")
    private String consumableName;

    @ApiModelProperty(value = "图片")
    private String consumablePicture;

    @ApiModelProperty(value = "类别")
    private String consumableCategory;

    @ApiModelProperty(value = "资产状态：1：库中   2：借出  3：维修   4：报废")
    private Integer consumableStatus;

    @ApiModelProperty(value = "型号")
    private String consumableModel;

    @ApiModelProperty(value = "数量")
    private Integer consumableNum;

    @ApiModelProperty(value = "单价")
    private BigDecimal consumablePrice;

    @ApiModelProperty(value = "单位")
    private String consumableUnit;

    @ApiModelProperty(value = "供应商")
    private String consumableSupplier;

    @ApiModelProperty(value = "总价")
    private BigDecimal totalPrice;

    @ApiModelProperty(value = "仓库")
    private String consumableWarehouse;

    @ApiModelProperty(value = "仓库id")
    private String consumableWarehouseId;

    @ApiModelProperty(value = "预警值")
    private Integer consumableWarningNum;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "数据添加用户id")
    private String addUserId;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableLogic
    private Integer isDeleted;


}
